#categoryandsearch{
  margin-left: 10px;
  margin-top: 20px;
  float: right;
}
.right_nav {
  float: left;
  margin-left: 50px;
  width: 320px;
  background-color: white;
}
.right_nav .nav_serch {
  padding: 20px;
  background-color: grey;
  position: relative;
}
.right_nav .mt20 {
  margin-top: 20px;
}
.right_nav .category {
  position: relative;
  padding-bottom: 20px;
}

.right_nav .nav_serch .search-wrap {
  display: block;
  height: 40px;
  padding: 0 20px;
  background-color: #fff;
  border-radius: 40px;
  position: relative;
  z-index: 5;
}
.right_nav .nav_serch .search-wrap input {
  border: none;
  height: 40px;
  line-height: 40px;
  width: 100%;
  box-shadow: none;
  background-color: transparent;
}
.right_nav .nav_serch .search-wrap .search-icon {
  font-size: 18px;
  position: absolute;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  right: 5px;
  top: 5px;
  color: #787977;
  -webkit-transition: all .3s;
  transition: all .3s;
  cursor: pointer;
}
.right_nav .category li.slider {
  border-right: 6px solid #484947;
  height: 40px;
  background-color: #f8f9f7;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  transition: top .3s;
}
.right_nav .category li {
  display: block;
  height: 40px;
  line-height: 39px;
  position: relative;
  z-index: 1;
}
.right_nav .category li a {
  display: block;
  margin: 0 30px;
  padding: 0 20px;
  height: 39px;
  border-bottom: 1px solid #f8f9f7;
  transition: none;
  text-decoration: none;
  color: #787977;
}
.right_nav .category li a:hover{
  color: #6bc30d
}
.right_nav .category .current a {
  color: #6bc30d
}
.right_nav .other-item-title {
  margin: 10px 20px;
  padding: 5px;
  line-height: 30px;
  font-weight: 400;
  border-bottom: 1px solid #e8e9e7;
  color: #383937;
  position: relative;
  font-size: 18px;
}
.right_nav .inner {
  margin: 0 20px;
  padding-bottom: 10px;
}
.right_nav .nav_top5 .inner .hot-list-article li {
  display: block;
  line-height: 32px;
  position: relative;
  margin: 3px 0;
  counter-increment: nums;
  padding-left: 30px;
  overflow: hidden;
  word-wrap: normal !important;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 排行列数字的样式 */
.right_nav .nav_top5 .inner .hot-list-article li:first-child:before,
 .hot-list-article li:nth-child(2):before, 
 .hot-list-article li:nth-child(3):before {
  color: #fff;
  text-shadow: none;
}
/* 排行前三 */
.right_nav .nav_top5 .inner .hot-list-article li:first-child:before {
  background-color: #e24d46;
}
.right_nav .nav_top5 .inner .hot-list-article li:nth-child(2):before {
  background-color: #2ea7e0;
}
.right_nav .nav_top5 .inner .hot-list-article li:nth-child(3):before {
  background-color: #6bc30d;
}
.right_nav .nav_top5 .inner .hot-list-article li:before {
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  content: counter(nums,decimal);
  position: absolute;
  left: 0;
  top: 5px;
  border-radius: 100%;
  background-color: #edefee;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  font-family: SourceCodeProRegular,Menlo,Monaco,Consolas,"Courier New",monospace,'Helvetica Neue',Arial,sans-serif;
}
/* 热门浏览文章 */
.right_nav .other-item-title {
  margin: 10px 20px;
  padding: 5px;
  line-height: 30px;
  font-weight: 400;
  border-bottom: 1px solid #e8e9e7;
  color: #383937;
  position: relative;
  font-size: 18px;
}
.right_nav .inner {
  margin: 0 20px;
  padding-bottom: 10px;
}
.right_nav .nav_guestlist .inner .vistor {
  text-align: center;
}
/* 最新访客 */
.right_nav .other-item-title {
  margin: 10px 20px;
  padding: 5px;
  line-height: 30px;
  font-weight: 400;
  border-bottom: 1px solid #e8e9e7;
  color: #383937;
  position: relative;
  font-size: 18px;
}
.right_nav .nav_guestlist .inner .vistor dd {
  position: relative;
  width: 60px;
  height: 65px;
  margin: 10px 10px 0 0;
  display: inline-block;
  vertical-align: top;
  font-size: 12px;
}
.right_nav .nav_guestlist .inner .vistor dd a img {
  width: 60px;
  height: 60px;
  border-radius: 2px;
}
.right_nav .nav_guestlist .inner .vistor dd a cite {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background-color: rgba(0,0,0,.2);
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}